package com.maiikun.thread_pool.reject;

import com.maiikun.thread_pool.MyThreadPool;

public class CallerRunsPolicy implements RejectHandle{
    @Override
    public void reject(Runnable command, MyThreadPool threadPool) {
        command.run();
    }
}
